package Test;

import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.Player;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Main {
    public static void main(String[] args) throws FileNotFoundException, JavaLayerException {
        BufferedInputStream audio = new BufferedInputStream(new FileInputStream(new File("/Users/tum0r/MySpace/Java/GIITOJ/out/artifacts/GIITOJ/WEB-INF/classes/../../audio/stop.mp3")));
        Player player = new Player(audio);
        player.play();
    }
}
